cmake_minimum_required(VERSION 3.16)

project(demo-test VERSION 1.0.0 LANGUAGES CXX)

include(GNUInstallDirs)
include(NOSAL/nosal)
if(NOSAL_TARGET_MACHINE STREQUAL "QNX-SA8155")
    include(NOSAL/toolchain_qnx700_aarch64)
endif()

find_package(PkgConfig REQUIRED)

find_package(nosal-demo-lib REQUIRED)

if(NOSAL_ENABLE_TESTS)
    #find_package(GTest REQUIRED)
    #find_library(GMOCK gmock)
    #enable_testing()
    add_subdirectory(src)
endif()
